package com.hzit.bj1804.dianservice.service;

import com.github.pagehelper.PageInfo;
import com.hzit.bj1804.dian.entity.Diaryinfo;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface DiaryinfoService {
    PageInfo<Diaryinfo> seleAllPage(@RequestParam("limit") int limit, @RequestParam("page") int page);//分页查询
    List<Diaryinfo> seleAll();//查询所有登陆日志
    int insert(@RequestBody Diaryinfo diaryinfo);//添加登陆日志
}
